﻿<UserControl x:Class="Majesty_of_Omega.GUI.Pages.Game.Research.Parts.FundingLevelPart"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    MinHeight="13" MinWidth="106"
>
	<UserControl.Resources>
		<LinearGradientBrush x:Key="ProgressBarGlassyHighlight" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#50FFFFFF" Offset="0.5385"/>
			<GradientStop Color="#00FFFFFF" Offset="0.5385"/>
		</LinearGradientBrush>
		<LinearGradientBrush x:Key="ProgressBarTopHighlight" EndPoint="0,1" StartPoint="0,0">
			<GradientStop Color="#80FFFFFF" Offset="0.05"/>
			<GradientStop Color="#00FFFFFF" Offset="0.25"/>
		</LinearGradientBrush>
	</UserControl.Resources>
	<Grid Height="Auto" x:Name="FundingLevelLayout" Width="Auto">
		<Grid.ColumnDefinitions>
			<ColumnDefinition x:Name="ProgressColumn" Width="0.43*"/>
			<ColumnDefinition x:Name="BlackBorderColumn" Width="0.57*"/>
		</Grid.ColumnDefinitions>
		<Rectangle Stroke="#FF000000" x:Name="FundingColorScale" Grid.ColumnSpan="2" StrokeThickness="2">
			<Rectangle.Fill>
				<LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
					<GradientStop Color="#FF00FF06" Offset="0.006"/>
					<GradientStop Color="#FFEA0000" Offset="1"/>
					<GradientStop Color="#FFF3F505" Offset="0.717"/>
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
		<Border Margin="1" Background="{StaticResource ProgressBarGlassyHighlight}" CornerRadius="2"/>
		<Border Margin="1" Background="{StaticResource ProgressBarTopHighlight}" BorderBrush="#80FFFFFF" BorderThickness="1,0,1,1"/>
		<Rectangle Fill="#FF000000" Stroke="#FF000000" RadiusX="0" RadiusY="0" HorizontalAlignment="Stretch" Width="Auto" Grid.Column="1" x:Name="FundingBackColor" StrokeThickness="0" d:IsHidden="True"/>
		<Path Fill="#FFABA8A8" Stretch="Fill" Stroke="#FFFFFFFF" VerticalAlignment="Top" Height="12" Grid.Row="1" Data="M170,192 L151.25,166 187,166 z" StrokeThickness="2" RenderTransformOrigin="0.837,0.659" x:Name="FundingMarker" Width="16" Margin="-13,0,0,0" Grid.Column="1" HorizontalAlignment="Left"/>
	</Grid>
</UserControl>
